Efficient Sequential and Parallel Prime Sieve Algorithms
نویسندگان
چکیده
Generating prime numbers less than or equal to an integer number m plays important role in many asymmetric key cryptosystems. Recently, a new sequential sieve algorithm was proposed based on set theory. The main drawback of this is that the running time and storage are high when size large. This paper introduces three algorithms for two approaches. first approach develops fast theory some structural improvements recent algorithm. second parallel shared memory model static dynamic strategies. analysis experimental studies shows following results. (1) outperforms terms by 98% consumption 80%, average. (2) outperform 72% 67%, respectively, (3) maximum speedups achieved using 16 threads 7 4.5, respectively. As result, more effective time, scalability generating primes.
منابع مشابه
Efficient sequential and parallel algorithms for record linkage
BACKGROUND AND OBJECTIVE Integrating data from multiple sources is a crucial and challenging problem. Even though there exist numerous algorithms for record linkage or deduplication, they suffer from either large time needs or restrictions on the number of datasets that they can integrate. In this paper we report efficient sequential and parallel algorithms for record linkage which handle any n...
متن کاملEfficient Sequential and Parallel Algorithms for Maximal Bipartite Sets
A maximal bipartite set (MBS) in an undirected graph G = (V;E) is a maximal collection of vertices B V whose induced subgraph is bipartite. In this paper we present efficient sequential (linear time) and parallel (NC) algorithms for constructing an MBS.
متن کاملEfficient Sequential and Parallel Algorithms for the Negative Cycle Problem
We present here an algorithm for detecting (and outputting, if exists) a negative cycle in an n-vertex planar digraph G with real edge weights. Its running time ranges from O(n) up to O(n log n) as a certain topological measure of G varies from 1 up to Θ(n). Moreover, an efficient CREW PRAM implementation is given. Our algorithm applies also to digraphs whose genus γ is o(n).
متن کاملPerformance Comparison of Linear Sieve and Cubic Sieve Algorithms for Discrete Logarithms over Prime Fields
It is of interest in cryptographic applications to obtain practical performance improvements for the discrete logarithm problem over prime fields Fp with p of size ≤ 500 bits. The linear sieve and the cubic sieve methods described in Coppersmith, Odlyzko and Schroeppel’s paper [3] are two practical algorithms for computing discrete logarithms over prime fields. The cubic sieve algorithm is asym...
متن کاملThe Pseudosquares Prime Sieve
We present the pseudosquares prime sieve, which finds all primes up to n. Define p to be the smallest prime such that the pseudosquare Lp > n/(π(p)(logn)); here π(x) is the prime counting function. Our algorithm requires only O(π(p)n) arithmetic operations and O(π(p) log n) space. It uses the pseudosquares primality test of Lukes, Patterson, and Williams. Under the assumption of the Extended Ri...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Symmetry
سال: 2022
ISSN: ['0865-4824', '2226-1877']
DOI: https://doi.org/10.3390/sym14122527